package com.chenxingnet.dto;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class RemindExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public RemindExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andRidIsNull() {
            addCriterion("rId is null");
            return (Criteria) this;
        }

        public Criteria andRidIsNotNull() {
            addCriterion("rId is not null");
            return (Criteria) this;
        }

        public Criteria andRidEqualTo(Integer value) {
            addCriterion("rId =", value, "rid");
            return (Criteria) this;
        }

        public Criteria andRidNotEqualTo(Integer value) {
            addCriterion("rId <>", value, "rid");
            return (Criteria) this;
        }

        public Criteria andRidGreaterThan(Integer value) {
            addCriterion("rId >", value, "rid");
            return (Criteria) this;
        }

        public Criteria andRidGreaterThanOrEqualTo(Integer value) {
            addCriterion("rId >=", value, "rid");
            return (Criteria) this;
        }

        public Criteria andRidLessThan(Integer value) {
            addCriterion("rId <", value, "rid");
            return (Criteria) this;
        }

        public Criteria andRidLessThanOrEqualTo(Integer value) {
            addCriterion("rId <=", value, "rid");
            return (Criteria) this;
        }

        public Criteria andRidIn(List<Integer> values) {
            addCriterion("rId in", values, "rid");
            return (Criteria) this;
        }

        public Criteria andRidNotIn(List<Integer> values) {
            addCriterion("rId not in", values, "rid");
            return (Criteria) this;
        }

        public Criteria andRidBetween(Integer value1, Integer value2) {
            addCriterion("rId between", value1, value2, "rid");
            return (Criteria) this;
        }

        public Criteria andRidNotBetween(Integer value1, Integer value2) {
            addCriterion("rId not between", value1, value2, "rid");
            return (Criteria) this;
        }

        public Criteria andWidIsNull() {
            addCriterion("wId is null");
            return (Criteria) this;
        }

        public Criteria andWidIsNotNull() {
            addCriterion("wId is not null");
            return (Criteria) this;
        }

        public Criteria andWidEqualTo(Integer value) {
            addCriterion("wId =", value, "wid");
            return (Criteria) this;
        }

        public Criteria andWidNotEqualTo(Integer value) {
            addCriterion("wId <>", value, "wid");
            return (Criteria) this;
        }

        public Criteria andWidGreaterThan(Integer value) {
            addCriterion("wId >", value, "wid");
            return (Criteria) this;
        }

        public Criteria andWidGreaterThanOrEqualTo(Integer value) {
            addCriterion("wId >=", value, "wid");
            return (Criteria) this;
        }

        public Criteria andWidLessThan(Integer value) {
            addCriterion("wId <", value, "wid");
            return (Criteria) this;
        }

        public Criteria andWidLessThanOrEqualTo(Integer value) {
            addCriterion("wId <=", value, "wid");
            return (Criteria) this;
        }

        public Criteria andWidIn(List<Integer> values) {
            addCriterion("wId in", values, "wid");
            return (Criteria) this;
        }

        public Criteria andWidNotIn(List<Integer> values) {
            addCriterion("wId not in", values, "wid");
            return (Criteria) this;
        }

        public Criteria andWidBetween(Integer value1, Integer value2) {
            addCriterion("wId between", value1, value2, "wid");
            return (Criteria) this;
        }

        public Criteria andWidNotBetween(Integer value1, Integer value2) {
            addCriterion("wId not between", value1, value2, "wid");
            return (Criteria) this;
        }

        public Criteria andUidIsNull() {
            addCriterion("uId is null");
            return (Criteria) this;
        }

        public Criteria andUidIsNotNull() {
            addCriterion("uId is not null");
            return (Criteria) this;
        }

        public Criteria andUidEqualTo(Integer value) {
            addCriterion("uId =", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotEqualTo(Integer value) {
            addCriterion("uId <>", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThan(Integer value) {
            addCriterion("uId >", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThanOrEqualTo(Integer value) {
            addCriterion("uId >=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThan(Integer value) {
            addCriterion("uId <", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThanOrEqualTo(Integer value) {
            addCriterion("uId <=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidIn(List<Integer> values) {
            addCriterion("uId in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotIn(List<Integer> values) {
            addCriterion("uId not in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidBetween(Integer value1, Integer value2) {
            addCriterion("uId between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotBetween(Integer value1, Integer value2) {
            addCriterion("uId not between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andRpubdateIsNull() {
            addCriterion("rPubdate is null");
            return (Criteria) this;
        }

        public Criteria andRpubdateIsNotNull() {
            addCriterion("rPubdate is not null");
            return (Criteria) this;
        }

        public Criteria andRpubdateEqualTo(Date value) {
            addCriterion("rPubdate =", value, "rpubdate");
            return (Criteria) this;
        }

        public Criteria andRpubdateNotEqualTo(Date value) {
            addCriterion("rPubdate <>", value, "rpubdate");
            return (Criteria) this;
        }

        public Criteria andRpubdateGreaterThan(Date value) {
            addCriterion("rPubdate >", value, "rpubdate");
            return (Criteria) this;
        }

        public Criteria andRpubdateGreaterThanOrEqualTo(Date value) {
            addCriterion("rPubdate >=", value, "rpubdate");
            return (Criteria) this;
        }

        public Criteria andRpubdateLessThan(Date value) {
            addCriterion("rPubdate <", value, "rpubdate");
            return (Criteria) this;
        }

        public Criteria andRpubdateLessThanOrEqualTo(Date value) {
            addCriterion("rPubdate <=", value, "rpubdate");
            return (Criteria) this;
        }

        public Criteria andRpubdateIn(List<Date> values) {
            addCriterion("rPubdate in", values, "rpubdate");
            return (Criteria) this;
        }

        public Criteria andRpubdateNotIn(List<Date> values) {
            addCriterion("rPubdate not in", values, "rpubdate");
            return (Criteria) this;
        }

        public Criteria andRpubdateBetween(Date value1, Date value2) {
            addCriterion("rPubdate between", value1, value2, "rpubdate");
            return (Criteria) this;
        }

        public Criteria andRpubdateNotBetween(Date value1, Date value2) {
            addCriterion("rPubdate not between", value1, value2, "rpubdate");
            return (Criteria) this;
        }

        public Criteria andRcontentIsNull() {
            addCriterion("rContent is null");
            return (Criteria) this;
        }

        public Criteria andRcontentIsNotNull() {
            addCriterion("rContent is not null");
            return (Criteria) this;
        }

        public Criteria andRcontentEqualTo(String value) {
            addCriterion("rContent =", value, "rcontent");
            return (Criteria) this;
        }

        public Criteria andRcontentNotEqualTo(String value) {
            addCriterion("rContent <>", value, "rcontent");
            return (Criteria) this;
        }

        public Criteria andRcontentGreaterThan(String value) {
            addCriterion("rContent >", value, "rcontent");
            return (Criteria) this;
        }

        public Criteria andRcontentGreaterThanOrEqualTo(String value) {
            addCriterion("rContent >=", value, "rcontent");
            return (Criteria) this;
        }

        public Criteria andRcontentLessThan(String value) {
            addCriterion("rContent <", value, "rcontent");
            return (Criteria) this;
        }

        public Criteria andRcontentLessThanOrEqualTo(String value) {
            addCriterion("rContent <=", value, "rcontent");
            return (Criteria) this;
        }

        public Criteria andRcontentLike(String value) {
            addCriterion("rContent like", value, "rcontent");
            return (Criteria) this;
        }

        public Criteria andRcontentNotLike(String value) {
            addCriterion("rContent not like", value, "rcontent");
            return (Criteria) this;
        }

        public Criteria andRcontentIn(List<String> values) {
            addCriterion("rContent in", values, "rcontent");
            return (Criteria) this;
        }

        public Criteria andRcontentNotIn(List<String> values) {
            addCriterion("rContent not in", values, "rcontent");
            return (Criteria) this;
        }

        public Criteria andRcontentBetween(String value1, String value2) {
            addCriterion("rContent between", value1, value2, "rcontent");
            return (Criteria) this;
        }

        public Criteria andRcontentNotBetween(String value1, String value2) {
            addCriterion("rContent not between", value1, value2, "rcontent");
            return (Criteria) this;
        }

        public Criteria andRsendIsNull() {
            addCriterion("rSend is null");
            return (Criteria) this;
        }

        public Criteria andRsendIsNotNull() {
            addCriterion("rSend is not null");
            return (Criteria) this;
        }

        public Criteria andRsendEqualTo(String value) {
            addCriterion("rSend =", value, "rsend");
            return (Criteria) this;
        }

        public Criteria andRsendNotEqualTo(String value) {
            addCriterion("rSend <>", value, "rsend");
            return (Criteria) this;
        }

        public Criteria andRsendGreaterThan(String value) {
            addCriterion("rSend >", value, "rsend");
            return (Criteria) this;
        }

        public Criteria andRsendGreaterThanOrEqualTo(String value) {
            addCriterion("rSend >=", value, "rsend");
            return (Criteria) this;
        }

        public Criteria andRsendLessThan(String value) {
            addCriterion("rSend <", value, "rsend");
            return (Criteria) this;
        }

        public Criteria andRsendLessThanOrEqualTo(String value) {
            addCriterion("rSend <=", value, "rsend");
            return (Criteria) this;
        }

        public Criteria andRsendLike(String value) {
            addCriterion("rSend like", value, "rsend");
            return (Criteria) this;
        }

        public Criteria andRsendNotLike(String value) {
            addCriterion("rSend not like", value, "rsend");
            return (Criteria) this;
        }

        public Criteria andRsendIn(List<String> values) {
            addCriterion("rSend in", values, "rsend");
            return (Criteria) this;
        }

        public Criteria andRsendNotIn(List<String> values) {
            addCriterion("rSend not in", values, "rsend");
            return (Criteria) this;
        }

        public Criteria andRsendBetween(String value1, String value2) {
            addCriterion("rSend between", value1, value2, "rsend");
            return (Criteria) this;
        }

        public Criteria andRsendNotBetween(String value1, String value2) {
            addCriterion("rSend not between", value1, value2, "rsend");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(String value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(String value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(String value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(String value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(String value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(String value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLike(String value) {
            addCriterion("type like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotLike(String value) {
            addCriterion("type not like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<String> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<String> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(String value1, String value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(String value1, String value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andRreportstartIsNull() {
            addCriterion("rReportStart is null");
            return (Criteria) this;
        }

        public Criteria andRreportstartIsNotNull() {
            addCriterion("rReportStart is not null");
            return (Criteria) this;
        }

        public Criteria andRreportstartEqualTo(String value) {
            addCriterion("rReportStart =", value, "rreportstart");
            return (Criteria) this;
        }

        public Criteria andRreportstartNotEqualTo(String value) {
            addCriterion("rReportStart <>", value, "rreportstart");
            return (Criteria) this;
        }

        public Criteria andRreportstartGreaterThan(String value) {
            addCriterion("rReportStart >", value, "rreportstart");
            return (Criteria) this;
        }

        public Criteria andRreportstartGreaterThanOrEqualTo(String value) {
            addCriterion("rReportStart >=", value, "rreportstart");
            return (Criteria) this;
        }

        public Criteria andRreportstartLessThan(String value) {
            addCriterion("rReportStart <", value, "rreportstart");
            return (Criteria) this;
        }

        public Criteria andRreportstartLessThanOrEqualTo(String value) {
            addCriterion("rReportStart <=", value, "rreportstart");
            return (Criteria) this;
        }

        public Criteria andRreportstartLike(String value) {
            addCriterion("rReportStart like", value, "rreportstart");
            return (Criteria) this;
        }

        public Criteria andRreportstartNotLike(String value) {
            addCriterion("rReportStart not like", value, "rreportstart");
            return (Criteria) this;
        }

        public Criteria andRreportstartIn(List<String> values) {
            addCriterion("rReportStart in", values, "rreportstart");
            return (Criteria) this;
        }

        public Criteria andRreportstartNotIn(List<String> values) {
            addCriterion("rReportStart not in", values, "rreportstart");
            return (Criteria) this;
        }

        public Criteria andRreportstartBetween(String value1, String value2) {
            addCriterion("rReportStart between", value1, value2, "rreportstart");
            return (Criteria) this;
        }

        public Criteria andRreportstartNotBetween(String value1, String value2) {
            addCriterion("rReportStart not between", value1, value2, "rreportstart");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}